import request from '/@/utils/request';

/**
 * 客户列表api接口集合
 * @method addCustom 新增客户
 * @method editCustom 编辑客户
 * @method delCustom 删除客户
 */
export function customApi() {
	return {
		addCustom: (data: object) => {
			return request({
				url: '/auth/registration',
				method: 'post',
				data,
			});
		},
		editCustom: (data: object) => {
			return request({
				url: '/user/signOut',
				method: 'post',
				data,
			});
		},
		delCustom: (data: object) => {
			return request({
				url: '/user/signOut',
				method: 'post',
				data,
			});
		},
	};
}
